package com.networklib.http.other;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

import timber.log.Timber;

public class EmptyHostNameVerifier implements HostnameVerifier {
    public EmptyHostNameVerifier() {
    }

    public boolean verify(String hostname, SSLSession session) {
        Timber.d("RestUtilImpl", new Object[]{"Approving certificate for " + hostname});
        return true;
    }
}
